import request from "../utils/request.js"


//员工信息
export function getStaff() {
	return request({
		url: "/staff/getStaff"
	})
}


//发布客讯
export function addNews(data) {
	return request({
		url: "/staff/addNews",
		method: 'post',
		data
	})
}


//缴费月票
export function payVip(data) {
	return request({
		url: "/staff/payVip",
		method: 'post',
		data
	})
}

//房间列表
export function getRoom(data) {
	return request({
		url: "/staff/getRoom",
		data
	})
}

//选择房间号
export function addOrder(data) {
	return request({
		url: "/staff/addOrder",
		method: 'post',
		data
	})
}

//房间号详情
export function getRoomDetail(data) {
	return request({
		url: "/staff/getRoomDetail",
		data
	})
}


//公主完成订单
export function finishOrder(data) {
	return request({
		url: "/staff/finishOrder",
		method: 'post',
		data
	})
}



//公主监督房间订单
export function staffWatchOrder() {
	return request({
		url: "/staff/staffWatchOrder"
	})
}

//公主部添加监督数据
export function subWatch(data) {
	return request({
		url: "/staff/subWatch",
		method: 'post',
		data
	})
}

//查看签到状态
export function getStaffSignStatus() {
	return request({
		url: "/staff/getStaffSignStatus"
	})
}


//签到
export function sign(data) {
	return request({
		url: "/staff/sign",
		method: 'post',
		data
	})
}

//签到记录
export function getSignList(data) {
	return request({
		url: "/staff/getSignList",
		data
	})
}

//小妹收集客资的订单选项
export function staffMaterialOrder() {
	return request({
		url: "/staff/staffMaterialOrder"
	})
}


//小妹收集客资提交
export function subMaterial(data) {
	return request({
		url: "/staff/subMaterial",
		method: 'post',
		data
	})
}
//生理期设定
export function subPhysiology(data) {
	return request({
		url: "/staff/subPhysiology",
		method: 'post',
		data
	})
}


//罚款列表
export function penalty(data) {
	return request({
		url: "/staff/penalty",
		data
	})
}


//罚款拉起支付
export function payPenalty(data) {
	return request({
		url: "/staff/payPenalty",
		method: 'post',
		data
	})
}


//台票记录
export function getTicketList(data) {
	return request({
		url: "/staff/getTicketList",
		data
	})
}

//缴纳台票
export function payTicket(data) {
	return request({
		url: "/staff/payTicket",
		method: 'post',
		data
	})
}

/**
 * 公主移除小妹
 * @param {Object} data
 */
export function removeStaff(data) {
	return request({
		url: "/staff/removeStaff",
		method: 'post',
		data
	})
}

//公主查看店员签到记录
export function getStaffSign(data) {
	return request({
		url: "/staff/getStaffSign",
		data
	})
}

/**
 * 组内成员签到记录
 * @param {Object} data
 */
export function getGroupSignList(data) {
	return request({
		url: "/staff/getGroupSignList",
		data
	})
}

/**
 * 我的房间 使用过记录
 */
export function myRoomOrder() {
	return request({
		url: "/staff/myRoomOrder"
	})
}

/**
 * 管家退款订单台票
 * @param {Object} data
 */
export function refundStoreOrder(data) {
	return request({
		url: "/staff/refundStoreOrder",
		method: 'post',
		data
	})
}